<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>系统管理-系统日志列表</title>
    <jsp:include page="../../include/base.jsp"></jsp:include>
	<jsp:include page="../../include/common.jsp"></jsp:include>
	<jsp:include page="../../include/baseManage.jsp"></jsp:include>
  </head>
  <body>   
  	<div class="mini-toolbar" style="border:0;font-size:12px;padding-left:6px;"> 
        <!-- 操作面板 -->
        <div class="operatePanel">
	       	<input class="mini-button" text="清除选中日志" iconCls="icon-remove" plain="false" 
	       		onclick="SystemLogHandler.delSystemLog" visible="false" id="log_list_del" />
	       	<input class="mini-button" text="条件清除日志" iconCls="icon-show-hourglass" plain="false" 
	       		onclick="SystemLogHandler.showDelLogWin" visible="false" id="log_list_conditionDel" />
	       	<input class="mini-button" text="展开查询" iconCls="icon-btn-expand" plain="false" 
	       		onclick="SystemLogHandler.querySystemLog" visible="false" id="log_list_query" />
	       	<input class="mini-button" text="刷新" iconCls="icon-btn-refresh" plain="false" 
	       		onclick="SystemLogHandler.afresh" visible="false" id="log_list_refresh" />
	    </div>
	    <!-- 查询面板 -->
	    <div id="querySystemLogDiv" class="queryPanel">
	    	<label class="queryPanelLbl">操作用户：</label>
	    	<input class="mini-textbox" id="lslUser" style="width: 116px"/>
	    	<label class="queryPanelLbl">操作地址：</label>
	    	<input class="mini-textbox" id="lslAddress" style="width: 116px"/>
	    	<label class="queryPanelLbl">操作时间从：</label>
	    	<input class="mini-datepicker" id="lslDate_begin" format="yyyy-MM-dd HH:mm:ss" 
	    		showTime="true" style="width: 158px"/>
	    	<label class="queryPanelLbl">至：</label>
	    	<input class="mini-datepicker" id="lslDate_end" format="yyyy-MM-dd HH:mm:ss" 
	    		showTime="true" style="width: 158px"/>
	    	<input class="mini-button" text="查询" iconCls="icon-btn-search" plain="false" 
	    		onclick="SystemLogHandler.doQuerySystemLog"/>
	    </div>
    </div>
    <div class="mini-fit" id="systemLogPanel">
	    <div id="systemLogGrid" class="mini-datagrid" fitColumns="true" style="width:100%;height:100%;" 
	    	multiSelect="true" pageSize="20" borderStyle="border-bottom:0;border-left:0;border-right:0;"
	    	virtualScroll="true" idField="lslId" url="<%=path %>/getSystemLogList.do">
	        <div property="columns">
	        	<div type="checkcolumn" ></div>
	            <div type="indexcolumn" width="30" headerAlign="center">序号</div>
	            <div field="lslUser" name="lslUser" width="80" headerAlign="center" allowSort="true">操作用户</div>    
	            <div field="lslType" name="lslType" width="90" headerAlign="center" allowSort="true">操作类型</div>
	            <div field="lslFunction" name="lslFunction" width="110" headerAlign="center" allowSort="true">所属功能</div>
	            <div field="lslMethod" name="lslMethod" width="120" headerAlign="center" allowSort="true">调用方法</div>
	            <div field="lslObject" name="lslObject" width="190" headerAlign="center" allowSort="true">操作对象</div>
	            <div field="lslDate" name="lslDate" width="110" headerAlign="center" allowSort="true" align="center" dateFormat="yyyy-MM-dd HH:mm:ss">操作时间</div>
	            <div field="lslAddress" name="lslAddress" width="90" headerAlign="center" allowSort="true" align="center" >操作地址</div>
	        </div>
	    </div>
    </div>  
  </body>
  <script src="handler/SystemLogHandler.js" type="text/javascript"></script>
</html>
